package org.zpmis.domain.contract.service;

import org.zpmis.common.service.Service;
import org.zpmis.domain.contract.model.Contract;
import org.zpmis.domain.contract.vo.ContractCountReceived;
import org.zpmis.domain.contract.vo.ContractReceived;

import java.util.List;
import java.util.Map;


/**
 * Created with CodeGenerator
 * Description:
 * @author  Yang
 * Date: 2021-6-2
 * Time: 14:52:19
 */
public interface ContractService extends Service<Contract> {

    /**
     * 合同款项统计
     * @param
     * @return
     */
    List<ContractReceived> getContractReceived(Long startTime, Long endTime);

    /**
     * 合同数量统计 按月分组
     * @param
     * @return
     */
    List<ContractCountReceived> getContractCountReceived(Long startTime, Long endTime);
}
